
* {
  font-weight: normal;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 1);
}

label {
  font-weight: normal;
}

html,#app  {
  height: 100%;
  box-sizing: border-box;
}
.whole {
  width: 100%;
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}
p,
ul,
li {
  margin: 0;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.flex {
  display: flex;
}
.flex-v {
  display: flex;
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.flex-a {
  display: flex;
  justify-content: space-around;
}
.flex-c {
  display: flex;
  justify-content: center;
}
.flex-b {
  display: flex;
  justify-content: space-between;
}
.flex-e {
  display: flex;
  justify-content: flex-end;
}
.f1 {
  flex: 1;
}
.grid {
  display: grid;
}
.no-shrink {
  flex-shrink: 0;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.w-100 {
  width: 100%;
}
.h-100 {
  height: 100%;
}
.rel {
  position: relative;
}
.abs {
  position: absolute;
}
.fixed {
  position: fixed;
}
.link {
  cursor: pointer;
  color: rgba(0, 119, 255, 1);
}
.flex-wrap {
  flex-wrap: wrap;
}
img {
  max-width: 100%;
}
.pointer {
  cursor: pointer;
}
.g-card {
  box-sizing: border-box;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0px 12px 23px rgba(62, 73, 84, 0.04);
  border-radius: 15px;
  overflow-y: auto;
}
.g-card.hover {
  transform: all 0.2s linear;
  &:hover {
    box-shadow: 0px 12px 23px rgba(62, 73, 84, 0.2);
  }
}
.card-brand {
  font-size: 20px;
  color: rgba(0, 0, 0, 1);
}
.card-brand.border {
  border-bottom: 1px solid rgba(241, 242, 244, 1);
  padding-bottom: 20px;
}
.dark {
  .g-card {
    background: #1d1e1f;
    border: 1px solid #1d1e1f;
    .card-brand {
      color: #fff !important;
    }
    .card-sub {
      color: rgba(255, 255, 255, 0.5);
    }
    .plain-table .th,
    .plain-table .td {
      color: rgba(255, 255, 255, 0.5);
    }
  }
}
.flex-wrap {
  flex-wrap: wrap;
}

.page {
  // height: calc(100vh - 125px);
  overflow: auto;
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
  .page-brand {
    font-size: 20px;
    font-weight: 500;
    color: rgba(10, 22, 41, 1);
    margin-bottom: 15px;
  }
  .container {
    height: calc(100% - 50px);
    overflow-y: auto;
  }
  .tight-container {
    height: calc(100% - 0px);
  }
}

.flex-gap {
  margin-left: 20px;
  margin-top: 20px;
}
.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.prefix-form-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  .prefix-label {
    border: 1px solid rgba(166, 166, 166, 1);
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    box-sizing: border-box;
    white-space: nowrap;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
  }
  .el-input__inner {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 35px;
  }
  input::placeholder{
    color: rgba(166, 166, 166, 1);
  }
}
.nobrr {
  .color-blue .el-input__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.prefix-form-item.tight {
  grid-template-columns: 35px 1fr;
  height: 35px;
  .prefix-label {
    box-sizing: border-box;
    height: 35px;
    width: 35px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .el-input,
  .el-input__inner {
    height: 35px !important;
    line-height: 35px !important;
    width: 1.3rem;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.bold {
  font-weight: bold !important;
}
.prefix-form-item.primary {
  border-radius: 5px 0px, 0px, 5px;
  background: rgba(0, 119, 255, 0.1);
  .prefix-label {
    border-color: rgba(0, 111, 255, 1);
    background-color: rgba(0, 119, 255, 1);
    color: #fff;
  }
  color: rgba(0, 111, 255, 1);
}
.suffix-form-item {
  display: grid;
  grid-template-columns: 1fr 1.3rem;
  .el-button {
    height: auto;
  }
  .suffix {
    box-sizing: border-box;
    white-space: nowrap;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .el-input__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.img-layer {
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  i {
    color: #fff;
    margin-right: 0.1rem;
    &:last-child {
      margin-right: 0;
    }
  }
}
.color-red {
  color: rgba(255, 0, 0, 1);
}
.el-table {
}
.mao-table-head {
  th.el-table__cell {
    background-color: rgba(204, 204, 204, 0.2) !important;
    color: rgba(0, 0, 0, 1) !important;
  }
  
}
.el-table tbody tr{
  background-color: rgba(204, 204, 204, 0.2) !important;
}
.progress-box {
  height: 7px;
  width: calc(100% - 30px);
  border-radius: 15px;
  background: rgba(242, 242, 242, 1);
  position: relative;
  .value {
    position: absolute;
    top: 0;
    left: 0;
    height: 7px;
    background: rgba(29, 146, 223, 1);
    border-radius: 15px;
  }
}

.btm-fixed {
  height: 70px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
}
.mao-input-box {
  border-radius: 15px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(216, 224, 240, 1);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  padding: 12px;
  line-height: 1.5;
}
.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.dark {
  .prefix-form-item .prefix-label {
    background-color: transparent;
    border: 1px solid #4c4d4f;
    color: #cfd3dc;
  }
}
.dark {
  .suffix-label {
    background-color: transparent !important;
    border: 1px solid #4c4d4f !important;
    color: #cfd3dc !important;
  }
}
.dark .el-table .el-table__cell {
  background-color: #000 !important;
}
.dark {
  .table-box {
    background-color: transparent !important;
  }
  .page-brand {
    color: #fff;
  }
  .el-date-editor--daterange.el-input__inner.white {
    background-color: transparent !important;
  }
}
.mix-input {
  .prefix {
    box-sizing: border-box;
    height: 35px;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.33);
    box-sizing: border-box;
    padding: 0 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
  .suffix {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-sizing: border-box;
    height: 35px;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.33);
    box-sizing: border-box;
  }
  .el-input__inner {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}
.dark-placeholder {
  input::placeholder {
    color: #000;
  }
}

// .scroll-box::-webkit-scrollbar,.page::-webkit-scrollbar  {
//   width: 0;
//   height: 12px;
//   background-color: #f5f5f5;
// }
// .scroll-box::-webkit-scrollbar-track,.page::-webkit-scrollbar-track {
//   border-radius: 15px;
//   background-color: #f5f5f5;
//   // background-color:yellow;
// }
// .scroll-box::-webkit-scrollbar-thumb,.page::-webkit-scrollbar-thumb {
//   border-radius: 15px;
//   background-color: rgba(0, 0, 0, 0.3);
// }

/* 全局滚动条样式 */
.scroll-box,.page {-webkit-overflow-scrolling: touch;}
.scroll-box::-webkit-scrollbar,.page::-webkit-scrollbar {width: 0px;height: 5px;}
.scroll-box::-webkit-scrollbar-thumb,.page::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0);}
.scroll-box::-webkit-scrollbar-thumb:hover,.page::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0);}
.scroll-box::-webkit-scrollbar-track,.page::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0);}
.scroll-box::-webkit-scrollbar-track:hover,.page::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0);}
// .scroll-box,.page {-webkit-overflow-scrolling: touch;}
// .scroll-box::-webkit-scrollbar,.page::-webkit-scrollbar {width: 5px;height: 5px;}
// .scroll-box::-webkit-scrollbar-thumb,.page::-webkit-scrollbar-thumb {background-color: rgba(50, 50, 50, 0.3);}
// .scroll-box::-webkit-scrollbar-thumb:hover,.page::-webkit-scrollbar-thumb:hover {background-color: rgba(50, 50, 50, 0.6);}
// .scroll-box::-webkit-scrollbar-track,.page::-webkit-scrollbar-track {background-color: rgba(50, 50, 50, 0.1);}
// .scroll-box::-webkit-scrollbar-track:hover,.page::-webkit-scrollbar-track:hover {background-color: rgba(50, 50, 50, 0.2);}
.prefix-form-item.tight{
  .mini-input{
    .el-input__inner{
      height: 35px !important;
      line-height: 35px !important;
    }
  }
}
.hidden{
  display: none;
}
.el-table th.el-table__cell>.cell,.el-table .cell{
  padding-left: 18px;
  padding-right: 18px;
}
.mao-radio-button-list{
  .mao-radio-button{
    .el-button{
      border-right: 0;
      border-radius: 0;
      min-height: 28px;
      height: fit-content;
      box-sizing: border-box;
      padding: 6px 15px;
      display: flex;
      align-items: center;
      span{
        font-size: 12px;
      }

    }
    .el-button.active{
      background-color: #409EFF;
      border-color: #409EFF;
      color: #fff;
    }
    
    &:last-child{
      .el-button{
        border-right: 1px solid #DCDFE6;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
      }
     
    }
    &:first-child{
      .el-button{
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
      }
     
    }
  }
}
.pagination-box{
  position: absolute;
  width: 100%;
  bottom: 15px;
  right: 15px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}